runtime.profBuf.hdrsize (field)
17 uses
runtime (current package)
profbuf.go#L99: hdrsize uintptr
profbuf.go#L232: b.hdrsize = uintptr(hdrsize)
profbuf.go#L235: b.overflowBuf = make([]uint64, 2+b.hdrsize+1)
profbuf.go#L252: want := 2 + int(b.hdrsize) + nstk
profbuf.go#L280: want := 2 + int(b.hdrsize) + nstk1
profbuf.go#L292: want = 2 + int(b.hdrsize) + nstk2
profbuf.go#L311: if len(hdr) > int(b.hdrsize) {
profbuf.go#L364: if wd+2+int(b.hdrsize)+len(stk) > len(b.data) {
profbuf.go#L371: data[0] = uint64(2 + b.hdrsize + uintptr(len(stk))) // length
profbuf.go#L374: i := copy(data[2:2+b.hdrsize], hdr)
profbuf.go#L375: clear(data[2+i : 2+b.hdrsize])
profbuf.go#L377: data[2+b.hdrsize+uintptr(i)] = uint64(pc)
profbuf.go#L384: new := old.addCountsAndClearFlags(skip+2+len(stk)+int(b.hdrsize), 1)
profbuf.go#L494: dst[0] = uint64(2 + b.hdrsize + 1)
profbuf.go#L496: clear(dst[2 : 2+b.hdrsize])
profbuf.go#L497: dst[2+b.hdrsize] = uint64(count)
profbuf.go#L498: return dst[:2+b.hdrsize+1], overflowTag[:1], false
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |